﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Koszyk.aspx.cs" Inherits="DEMI_webapp.Koszyk" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ImageButton ID="Button1" runat="server" PostBackUrl="SklepInternetowy.aspx"
        ImageUrl="~/Styles/images/SKLEP INTERNETOWY.png" />
    <br />
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    <br />
    <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
        OnRowCommand="GridView1_RowCommand" OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:ButtonField ButtonType="Button" CommandName="ZmienIlosc" Text="Zmień ilość" />
            <asp:ButtonField ButtonType="Button" CommandName="usun" Text="Usuń" />
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    <asp:Label ID="Label6" runat="server" Text="Podaj nową ilość" Visible="False"></asp:Label>
    <br />
    <asp:TextBox ID="TextBox4" runat="server" Visible="False"></asp:TextBox>
    <asp:RegularExpressionValidator runat="server" ID="valNumbersOnly" ControlToValidate="TextBox4"
        Display="Dynamic" ErrorMessage="Tylko liczby" ValidationExpression="(^([0-9]*|\d*\d{1}?\d*)$)">
    </asp:RegularExpressionValidator>
    <br />
    <asp:ImageButton ID="Button5" runat="server" Width="200" Height="50" Visible="False"
        OnClick="Button5_Click" ImageUrl="~/Styles/images/BUTTONzatwierdź.png" />
    <asp:ImageButton ID="Button3" runat="server" Width="200" Height="50" OnClick="Button3_Click"
        ImageUrl="~/Styles/images/WYCZYŚĆ KOSZYK.png" />
    <br />
    <asp:Label ID="Label2" runat="server" Text="Dane osoby składającej zamówienie"></asp:Label>
    <br />
    <asp:Label ID="Label3" runat="server" Text="Imię"></asp:Label>
    <br />
    <asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
    <br />
    <asp:Label ID="Label4" runat="server" Text="Nazwisko"></asp:Label>
    <br />
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    <br />
    <asp:Label ID="Label5" runat="server" Text="Adres"></asp:Label>
    <br />
    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
    <br />
    <asp:Label ID="Label7" runat="server" Text="Sposób odbioru towaru"></asp:Label>
    <br />
    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
        <asp:ListItem>Kurier</asp:ListItem>
        <asp:ListItem>Odbiór osobisty</asp:ListItem>
        <asp:ListItem>Paczka pocztowa</asp:ListItem>
    </asp:DropDownList>
    <br />
    <div style="width: 950px; margin: 0 auto; text-align: center">
        <asp:ImageButton ID="Button4" runat="server" Width="200" Height="50" OnClick="Button4_Click"
            ImageUrl="~/Styles/images/ZŁÓŻ ZAMÓWIENIE.png" />
    </div>
</asp:Content>
